Для добавления нового движка шаблонизации на сайт в файл /bitrix/php_interface/init.php необходимо добавить следующее:
1. Глобальную переменную $arCustomTemplateEngines, которая содержит ассоциативный массив, каждый элемент которого имеет вид:
"код_шаблонизатора" => array(
"templateExt" => array("расширение1"[, "расширение2"...]),
"function" => "имя_функции_подключения_движка"
)
где:
"код_шаблонизатора" - произвольное уникальное в рамках сайта слово;
"расширениеN" - расширение файла, который должен обрабатываться этим движком шаблонизации;
"имя_функции_подключения_движка" - имя функции, которая будет вызываться, если шаблон компонента имеет указанное расширение.
2. Функцию подключения движков:
function имя_функции_подключения_движка($templateFile, $arResult, $arParams, $arLangMessages, $templateFolder, $parentTemplateFolder, $template),
где:
$templateFile – путь к файлу шаблона относительно корня сайта,
$arResult – массив результатов работы компонента,
$arParams – массив входных параметров компонента,
$arLangMessages – массив языковых сообщений (переводов) шаблона,
$templateFolder – путь к папке шаблона относительно корня сайта (если шаблон лежит не в
папке, то эта переменная пуста),
$parentTemplateFolder - путь относительно корня сайта к папке шаблона комплексного
компонента, в составе которого подключается данный компонент (если компонент
подключается самостоятельно, то эта переменная пуста),
$template – объект шаблона.
Рассмотрим подключение движков на конкретных примерах.
Страница
1 - 1 из 3
Начало | Пред. |
123
|
След. |
Конец
As the demand for the Aviator game reaches new heights, its developers are working to enhance the experience. From adding new bonus rounds to launching exclusive events, the Aviator official website ensures ongoing excitement.
For players looking for the newest features, staying connected is essential. As Aviator games evolve, their community will undoubtedly continue to grow, solidifying the Aviator betting game as a leader in the gaming industry.
The aviator is more than just a betting experience; it’s a journey that delivers excitement with its simple yet addictive gameplay. Whether you’re curious about the best Aviator game, searching for tips on how to play and win, or simply seeking entertainment, this digital sensation has something for everyone.
As you dive into the Aviator online game, keep in mind the value of discipline. While the thrills of watching the plane climb the skies is incomparable, smart gameplay will increase your chances of success. The real Aviator game is about balancing risk and reward, and it provides a feeling of triumph every time you cash out at the right time.
As the Aviator game continues to grow in popularity, it’s clear that this standout title is here to stay. Whether you’re playing for entertainment or big wins, the Aviator crash game guarantees moments of thrill.
So, why wait? Visit the Aviator official website - https://aviatorindia.netlify.app/, start your adventure, and see for yourself what makes this game so captivating.
The Aviator game sets itself apart in the world of casino betting due to its innovative design and thrilling unpredictability. From its straightforward setup to its high-stakes moments, it’s obvious why the game has gained a global following among casual players.
One of the key draws of the Aviator game is its wide availability. Whether you’re downloading it for offline play, you’ll find that the game is perfectly suited for mobile and desktop users. This universal availability makes it suitable for players who enjoy gaming on the go.
Digital casinos have transformed the betting landscape, delivering an unmatched level of convenience and selection that conventional establishments are unable to replicate. In recent years, countless gamblers internationally have chosen the pleasure of online gaming in light of its ease of access, exciting features, and widening game libraries.
If you’re new with the world of internet-based gaming or are looking to find out more about reputable operators, why not engage with our dynamic social network? It’s a platform where fans exchange experiences, making it easier for you to enhance your gambling adventure. Explore the discussions and learn more now: pin-up casino entrar
One of the strongest selling points of online casinos is the unparalleled selection of entertainment options available. Whether you love interacting with old-school reel games, diving into plot-filled video-based games, or playing smart in traditional table offerings like Texas Hold’em, digital casinos feature infinite choices. Several sites even feature interactive dealer games, letting you to engage with actual dealers and fellow gamblers, all while experiencing the immersive atmosphere of a traditional gambling venue without leaving your home.
Доброго! Аренда автомобилей для поездок по осенним маршрутам Сочи – наслаждайтесь осенними пейзажами Сочи на арендованном автомобиле. Мы предложим вам авто для поездок по живописным маршрутам, наслаждаясь красотой осени. аренда авто Сочи цена Погрузитесь в атмосферу осеннего Сочи. Аренда авто в Сочи для путешествия по Черноморскому побережью – это отличный выбор для тех, кто хочет исследовать все красоты побережья. Мы предлагаем прокат автомобилей, которые идеально подходят для путешествий по прибрежным городам и поселкам. Все автомобили проходят проверку на техническую исправность и готовы к длительным поездкам. Более подробно на сайте - https://avto-prokat-23.ru/ прокат авто в Адлере, аренда автомобиля город Сочи, аренда машины в Сочи аренда автомобиля в Сочи без водителя недорого, аренда автомобиля Красная Поляна, прокат авто Сочи без водителя на сутки Удачи и хороших путешествий!
На данной странице представлены элементы инфоблока статьи, относящиеся к типу Публикации. Статьи опубликованы на странице с помощью комплексного компонента Новостной раздел с указанием параметров инфоблока Статьи. При создании каждой статьи был использован тег <break />, который позволяет осуществить разделение статьи на страницы. В публичном разделе такая статья будет представлена в виде нескольких страниц в зависимости от количества тегов <break />